import request from '@/util/request.js'

// 获取所有用户
export const getAllUser = () => {
  return request.get('/user/findAll')
}

// 根据id删除用户
export const deleteById = userId => {
  return request.get('/user/deleteById?userId='+userId)
}
